using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Home : MonoBehaviour
{
    public float currentNum;

    public TextMesh Num;

    private void Start()
    {
        ChangeNum(0);
    }

    public void ChangeNum(int value) 
    {
        currentNum += value;
        Num.text = currentNum.ToString();
    }
}
